package com.zqxq.lottery.service.news;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zqxq.common.constant.Result;
import com.zqxq.lottery.entity.po.news.MatchNewsLikesPO;
import com.zqxq.lottery.entity.po.news.MatchNewsPO;
import com.zqxq.lottery.entity.vo.news.MatchNewsLikesVO;
import com.zqxq.lottery.entity.vo.news.MatchNewsVO;

/**
 * @author 苦智
 * @date 2018/9/5 10:35
 * @description 资讯
 * @ClassName IMatchNewsService
 */
public interface IMatchNewsService extends IService<MatchNewsPO> {
    Page<MatchNewsVO> selectPageByType(Integer type, Integer pageNo, Integer pageSize);

    MatchNewsLikesPO saveNewsLikes(String newsId, String userId, String payAmount);

    Result payReward(MatchNewsLikesVO vo);
}
